.cl {
  &.content {
    margin-top: 80px;
  }
}

.article {
  &.edit {
    &#content {
      margin-top: 0px;
      background: #f5f5f5;
    }
    &#content-header {
      background: #999;
    }
  }

}

#toolkit----wrap {
  width: 100%;
}
// gongjulan
#toolkit {
  background-color: #F0F0F0;
  &.edit {
    $kit_bc: #f0f0f0;
    $kit_width: 64px;
    height: 40px;
    margin: 0 51px;
    ul {
      height: 100%;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    &>ul>li {
      height: 100%;
      width: $kit_width;
      float: left;
      text-align: center;
      line-height: 40px;
      &.save, &.update {
        float: right;
      }
    }
    a {
      display: block;
      &.actived {
        background: #fff;
      }
      &.disabled {
        background: #999;
      }
      &:hover {
        background: #fff;
      }
    }
    .dropdown {
      li {
        list-style-type: none;
        margin: 0px;
        font-size: 12px;
        line-height: 30px;
        background: $kit_bc;
      }
      ul a {
        display: block;
        padding: 5px 10px;
        color: #816bb1;
        text-decoration: none;
        font-weight: bold;
      }
      ul {
        margin: 0px;
        padding: 0px;
        display: none;
        z-index: 999;
        position: absolute;
        border-radius: 3px;
        left: 0px;
        top: 40px;
        min-width: $kit_width;
      }
      &:hover {
        ul {
          display: block;
        }
      }
    }
  }
}

#editor {
  width: 760px;
}

.article.list {
  .block-flat {
    position: relative;
    margin-bottom: 60px;
  }
  .time-info {
    position: absolute;
    bottom: -2em;
    right: 10px;
    span {
      padding-left: 1.2em;
    }
  }
}

#upload-modal {
  .file-input {
    width: 50%;
    margin: 0 auto;
  }
  .tab-content {
    border-bottom: transparent;
  }
}

#gallery-container {
  .image-selector {
    margin: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    &:hover {
      .action {
        margin-top: 0;
      }
    }
  }
  .action {
    left: 15px;
    right: 15px;
    height: 100%;
    position: absolute;
    margin-top: 100%;
    a {
      background-color: rgba(0, 0, 0, .2);
      display: block;
      text-align: center;
      font-size: 3em;
      border-bottom: solid #fff 1px;
      height: 50%;
      &.check {
        color: greenyellow;
      }
      &.times {
        color: indianred;
      }
      &:hover {
        background-color: rgba(0, 0, 0, .3);
      }
    }
  }
}